Optimal. Leaf size=74 \[ \frac {1}{5} x^5 (a C+A b)+\frac {1}{3} a A x^3+\frac {1}{4} a B x^4+\frac {1}{7} x^7 (A c+b C)+\frac {1}{6} b B x^6+\frac {1}{8} B c x^8+\frac {1}{9} c C x^9 \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {1628} \begin {gather*} \frac {1}{5} x^5 (a C+A b)+\frac {1}{3} a A x^3+\frac {1}{4} a B x^4+\frac {1}{7} x^7 (A c+b C)+\frac {1}{6} b B x^6+\frac {1}{8} B c x^8+\frac {1}{9} c C x^9 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1628
Rubi steps
\begin {align*} \int x^2 \left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right ) \, dx &=\int \left (a A x^2+a B x^3+(A b+a C) x^4+b B x^5+(A c+b C) x^6+B c x^7+c C x^8\right ) \, dx\\ &=\frac {1}{3} a A x^3+\frac {1}{4} a B x^4+\frac {1}{5} (A b+a C) x^5+\frac {1}{6} b B x^6+\frac {1}{7} (A c+b C) x^7+\frac {1}{8} B c x^8+\frac {1}{9} c C x^9\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 74, normalized size = 1.00 \begin {gather*} \frac {1}{5} x^5 (a C+A b)+\frac {1}{3} a A x^3+\frac {1}{4} a B x^4+\frac {1}{7} x^7 (A c+b C)+\frac {1}{6} b B x^6+\frac {1}{8} B c x^8+\frac {1}{9} c C x^9 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^2 \left (A+B x+C x^2\right ) \left (a+b x^2+c x^4\right ) \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.23, size = 64, normalized size = 0.86 \begin {gather*} \frac {1}{9} x^{9} c C + \frac {1}{8} x^{8} c B + \frac {1}{7} x^{7} b C + \frac {1}{7} x^{7} c A + \frac {1}{6} x^{6} b B + \frac {1}{5} x^{5} a C + \frac {1}{5} x^{5} b A + \frac {1}{4} x^{4} a B + \frac {1}{3} x^{3} a A \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.29, size = 64, normalized size = 0.86 \begin {gather*} \frac {1}{9} \, C c x^{9} + \frac {1}{8} \, B c x^{8} + \frac {1}{7} \, C b x^{7} + \frac {1}{7} \, A c x^{7} + \frac {1}{6} \, B b x^{6} + \frac {1}{5} \, C a x^{5} + \frac {1}{5} \, A b x^{5} + \frac {1}{4} \, B a x^{4} + \frac {1}{3} \, A a x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 61, normalized size = 0.82 \begin {gather*} \frac {C c \,x^{9}}{9}+\frac {B c \,x^{8}}{8}+\frac {B b \,x^{6}}{6}+\frac {\left (A c +b C \right ) x^{7}}{7}+\frac {B a \,x^{4}}{4}+\frac {A a \,x^{3}}{3}+\frac {\left (A b +a C \right ) x^{5}}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.45, size = 60, normalized size = 0.81 \begin {gather*} \frac {1}{9} \, C c x^{9} + \frac {1}{8} \, B c x^{8} + \frac {1}{6} \, B b x^{6} + \frac {1}{7} \, {\left (C b + A c\right )} x^{7} + \frac {1}{4} \, B a x^{4} + \frac {1}{5} \, {\left (C a + A b\right )} x^{5} + \frac {1}{3} \, A a x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 62, normalized size = 0.84 \begin {gather*} \frac {C\,c\,x^9}{9}+\frac {B\,c\,x^8}{8}+\left (\frac {A\,c}{7}+\frac {C\,b}{7}\right )\,x^7+\frac {B\,b\,x^6}{6}+\left (\frac {A\,b}{5}+\frac {C\,a}{5}\right )\,x^5+\frac {B\,a\,x^4}{4}+\frac {A\,a\,x^3}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.07, size = 68, normalized size = 0.92 \begin {gather*} \frac {A a x^{3}}{3} + \frac {B a x^{4}}{4} + \frac {B b x^{6}}{6} + \frac {B c x^{8}}{8} + \frac {C c x^{9}}{9} + x^{7} \left (\frac {A c}{7} + \frac {C b}{7}\right ) + x^{5} \left (\frac {A b}{5} + \frac {C a}{5}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________